package com.kensure.shike.baobei.dao;

import java.util.Collection;
import java.util.List;
import java.util.Map;

import co.kensure.annotation.MyBatisRepository;
import co.kensure.frame.JSBaseDao;

import com.kensure.shike.baobei.model.SKBaobeiTP;

/**
 * 宝贝图片Dao接口类
 * 
 * @author fankd created on 2018-9-9
 * @since
 */
@MyBatisRepository
public interface SKBaobeiTPDao extends JSBaseDao<SKBaobeiTP> {

	public SKBaobeiTP selectOne(Long id);

	public List<SKBaobeiTP> selectByIds(Collection<Long> ids);

	public List<SKBaobeiTP> selectByWhere(Map<String, Object> parameters);

	public long selectCountByWhere(Map<String, Object> parameters);

	public boolean insert(SKBaobeiTP obj);

	public boolean update(SKBaobeiTP obj);

	public boolean updateByMap(Map<String, Object> params);

	public boolean delete(Long id);

	public boolean deleteMulti(Collection<Long> ids);

	public boolean deleteByWhere(Map<String, Object> parameters);

}
